<%@ include file="/WEB-INF/jsp/include.jsp" %>
<c:forEach items="${artistList}" var="artist">
	<c:set var="iteration" value="${iteration + 1}" />
	<div id="artist${iteration}" class="row<c:out value="${iteration%2}"/>">
	
		<c:url var="link" value="javascript:getAlbumsByArtistId(\"${artist.id}\");"/>
		<a href='${link}'><c:out value="${artist.name}"/></a>
	</div>
</c:forEach>

<c:if test="${empty artistList}">
	<fmt:message key="artists.no.artist.found"/>
</c:if>